This can also be moved to constructor, so do it.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1307
reactive: true,
can_focus: true,
accessible_role: Atk.Role.PUSH_BUTTON,
+ offscreen_redirect: Clutter.OffscreenRedirect.AUTOMATIC_FOR_OPACITY,
});
this._windowContainer = new Clutter.Actor();
this._windowContainer.layout_manager = new WindowPreviewLayout();
this.add_child(this._windowContainer);
- this.set_offscreen_redirect(Clutter.OffscreenRedirect.AUTOMATIC_FOR_OPACITY);
-
this._addWindow(realWindow.meta_window);
this._delegate = this;